package com.ruis.kotboot.api.kisso

import com.baomidou.kisso.SSOAuthorization
import com.baomidou.kisso.security.token.SSOToken

/**
 * Created by mgr on 2018/3/8.
 */
class KissoAuthorization: SSOAuthorization {
    override fun isPermitted(token: SSOToken, permission: String): Boolean {
        return KissoUtil.isPermitted(token,permission)
    }
}